package com.zgr.ssm.mapper;

import com.zgr.ssm.entity.User;

public interface UserMapper {
    /**
     * 插入数据
     */
    Integer insert(User user);

    /**
     * 根据用户名查找数据
     * @param username
     * @return
     */
    User findByUsername(String username);
}
